<?

class bf_controller_json extends bf_controller_base {

	public function execute() {
		header('Content-type: application/json; charset=utf-8', true);
		$res = parent::execute();
		echo json_encode($res);
		return $res;
	}
}

?>